package com.itheima.tlias.tliasweb.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "demo")
public class DemoProperties2 {

    private List<String> hobby;

    private MyUser user;

}
